package br.com.absolutech.study.chapter8.pag368;

class Popcorn {

	public void pop() {
		System.out.println("popcorn");
	}

}

class Food {

	Popcorn p = new Popcorn() {
		public void pop() {
			System.out.println("anonymous popcorn");
		}
	};

}
